package com.ruoyi.pms.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.pms.common.BasePmsEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务考核对象 pms_project_task_assmt
 * 
 * @author ruoyi
 * @date 2024-12-09
 */
@TableName(value = "pms_project_task_assmt")
public class TaskAssmt extends BasePmsEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 所在项目id */
    @Excel(name = "所在项目id")
    private String projectId;

    /** 关联任务id */
    @Excel(name = "关联任务id")
    private String taskId;

    /** 考核分数 */
    @Excel(name = "考核分数")
    private Double score;

    /** 奖励原因 */
    @Excel(name = "奖励原因")
    private String rewardReason;

    /** 处罚原因 */
    @Excel(name = "处罚原因")
    private String punishReason;

    /** 考核人姓名 */
    @Excel(name = "考核人姓名")
    private String assmtUser;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setScore(Double score)
    {
        this.score = score;
    }

    public Double getScore()
    {
        return score;
    }
    public void setRewardReason(String rewardReason) 
    {
        this.rewardReason = rewardReason;
    }

    public String getRewardReason() 
    {
        return rewardReason;
    }
    public void setPunishReason(String punishReason) 
    {
        this.punishReason = punishReason;
    }

    public String getPunishReason() 
    {
        return punishReason;
    }
    public void setAssmtUser(String assmtUser) 
    {
        this.assmtUser = assmtUser;
    }

    public String getAssmtUser() 
    {
        return assmtUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("taskId", getTaskId())
            .append("score", getScore())
            .append("rewardReason", getRewardReason())
            .append("punishReason", getPunishReason())
            .append("assmtUser", getAssmtUser())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
